// function getLength(args: string | string[]) {
function getLength(args: { length: number }) {
  return args.length
}

getLength("aaa")

getLength(["12e21", 124])

const info = {
  length: 100
}

getLength(info)

getLength(123)

getLength()
export {}